<!--
 * @Description: 底部标签栏
 * @version: 
 * @Author: m
 * @LastEditors: m
-->
<template>
	<van-tabbar v-model="active_data">
		<van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
		<van-tabbar-item icon="after-sale" to="/list">列表</van-tabbar-item>
		<van-tabbar-item icon="contact" to="/user">个人中心</van-tabbar-item>
	</van-tabbar>
</template>

<script>
export default {
	name: "bottom-tabbar",
	data() {
		return {
			active_data: this.active,
		};
	},
	props: {
		active: Number,
	},
	methods: {},
};
</script>
<style lang="scss" scoped></style>
